/**
 * Description:一些注释<br/>
 * CreateTime:2019-04-06<br/>
 * Creater: yangpengfei360@126.com <br/>
 * @author yangpengfei
 */
package cn.cnsy123.bookwebsiteserver.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import cn.cnsy123.bookwebsiteserver.entity.SysParamInfo;

/**
 * Description:一些注释<br/>
 * CreateTime:2019-04-06<br/>
 * Creater: yangpengfei360@126.com <br/>
 * @author yangpengfei
 */
@Repository
public interface DictInfoDao extends JpaRepository<SysParamInfo, Long> {

    /**
     * Description:通过字典名称获取对应的字典信息<br/>
     * CreateTime:2019-04-07<br/>
     * Creater: yangpengfei360@126.com <br/>
     * @author yangpengfei
     * @param dictType
     * @param pageable
     */
    Page<SysParamInfo> findAllByDictType(String dictType, Pageable pageable);

}
